package Day06;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入第一个数据：");
        int a = in.nextInt();
        System.out.println("请输入第一个数据：");
        int b = in.nextInt();
        System.out.println("两个数中的最大值为"+Math.max(a,b));
    }
}
